package org.brisling.oa.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseSubDomain;
import org.brisling.base.domain.inf.BaseSubDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 
 * <p>Title: OASub</p>
 * <p>Description: 通用子表实体类</p>
 * <p>Company: tongking</p>
 * @author jackson wang
 * @since 1.0
 * @version 1.0
 * @date 2016年7月21日 下午11:04:25
 */
@Entity
@Table(name=ConstSysParam.MODULE_OA_SUB_GENERAL)
public class OASubGeneral extends BaseSubDomain implements BaseSubDomainInf{

	
	//主表id(外键,集成自父类)
	//private Long mainId;
	
	//物料名称
	private String material_name;
	
	//生产商
	private String manufactory_id;
	private String manufactory_name;
	
	//供应商
	private String supply_id;	
	private String supply_name;
		
	//规格'型号
	private String format1;
	
	//申请数量 
	private Long amount;
	
	//参考价格
	private Double price;
	//推荐品牌
	private String recommended_brand;				
	
	//配套设备名称
	private String mating_equipment;			

	//规格'型号2
	private String format2;

	/**
	 * @return the material_name
	 */
	public String getMaterial_name() {
		return material_name;
	}

	/**
	 * @param material_name the material_name to set
	 */
	public void setMaterial_name(String material_name) {
		this.material_name = material_name;
	}

	/**
	 * @return the manufactory_id
	 */
	public String getManufactory_id() {
		return manufactory_id;
	}

	/**
	 * @param manufactory_id the manufactory_id to set
	 */
	public void setManufactory_id(String manufactory_id) {
		this.manufactory_id = manufactory_id;
	}

	/**
	 * @return the manufactory_name
	 */
	public String getManufactory_name() {
		return manufactory_name;
	}

	/**
	 * @param manufactory_name the manufactory_name to set
	 */
	public void setManufactory_name(String manufactory_name) {
		this.manufactory_name = manufactory_name;
	}

	/**
	 * @return the supply_id
	 */
	public String getSupply_id() {
		return supply_id;
	}

	/**
	 * @param supply_id the supply_id to set
	 */
	public void setSupply_id(String supply_id) {
		this.supply_id = supply_id;
	}

	/**
	 * @return the supply_name
	 */
	public String getSupply_name() {
		return supply_name;
	}

	/**
	 * @param supply_name the supply_name to set
	 */
	public void setSupply_name(String supply_name) {
		this.supply_name = supply_name;
	}

	/**
	 * @return the format1
	 */
	public String getFormat1() {
		return format1;
	}

	/**
	 * @param format1 the format1 to set
	 */
	public void setFormat1(String format1) {
		this.format1 = format1;
	}

	/**
	 * @return the amount
	 */
	public Long getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(Long amount) {
		this.amount = amount;
	}

	/**
	 * @return the price
	 */
	public Double getPrice() {
		return price;
	}

	/**
	 * @param price the price to set
	 */
	public void setPrice(Double price) {
		this.price = price;
	}

	/**
	 * @return the recommended_brand
	 */
	public String getRecommended_brand() {
		return recommended_brand;
	}

	/**
	 * @param recommended_brand the recommended_brand to set
	 */
	public void setRecommended_brand(String recommended_brand) {
		this.recommended_brand = recommended_brand;
	}

	/**
	 * @return the mating_equipment
	 */
	public String getMating_equipment() {
		return mating_equipment;
	}

	/**
	 * @param mating_equipment the mating_equipment to set
	 */
	public void setMating_equipment(String mating_equipment) {
		this.mating_equipment = mating_equipment;
	}

	/**
	 * @return the format2
	 */
	public String getFormat2() {
		return format2;
	}

	/**
	 * @param format2 the format2 to set
	 */
	public void setFormat2(String format2) {
		this.format2 = format2;
	}

		
	
}
